
<title>消息详情</title>

<div class="layui-card layadmin-header">
  <div class="layui-breadcrumb" lay-filter="breadcrumb">
    <a lay-href="">首页</a>
    <a><cite>消息详情</cite></a>
  </div>
</div>

<div class="layui-fluid" id="LAY-app-message-detail">
    <div class="layui-card layuiAdmin-msg-detail">
        <script type="text/html" template lay-url="{{ layui.setter.baseConfig.apiHost }}/api/message/detail?id={{ layui.router().search.id }}"
                lay-type="get"
                lay-headers="{Authorization: 'Bearer {{layui.data(layui.setter.tableName)[layui.setter.request.tokenName]}}' }"
                lay-done="console.log(d);" id="TPL_message_detail">
            <div class="layui-card-header">
                <h1>{{ d.data.title }}</h1>
                <p>
                    <span>{{ d.data.lastUpdatedTime }}</span>
                </p>
            </div>
            <div class="layui-card-body layui-text">
                <div class="layadmin-text">
                    {{- d.data.bodyHtml }}
                </div>
                <div style="padding-top: 30px;">
                    <a lay-href="" class="layui-btn layui-btn-primary layui-btn-sm">返回上级</a>
                </div>
            </div>
        </script>
    </div>
</div>


<script>
 layui.use(['admin', 'form'], function(){
  var $ = layui.$
        ,admin = layui.admin
        , table = layui.table
        , form = layui.form
        , element = layui.element;

});
</script>